package com.haizhi.crm.common.constant;

import com.haizhi.crm.common.context.SpringContext;

/**
 * 实体类型
 * Created by ch on 2018/2/29.
 */
public class CrmSchema {
    //schema name
    public static String CRM = SpringContext.getProperty("graph.domain" );                                  //CRM
    public static String PRODUCT = "tv_product";                        //产品
    public static String EVENT_OUTTER = "tv_outer_event";                       //行外事件
    public static String EVENT_OUTTER_NEWS = "tv_news";                       //行外事件
    public static String EVENT_INNER = "tv_inner_event";                        //行内动态
    public static String VISIT_RECORD = "tv_visit_record";                      //拜访记录
    public static String PRODUCT_SERVICE_SALES = "product_service_sales";    //产品销售记录
    public static String COMPANY = "Company";                                //公司信息
    public static String ACCOUNT = "tv_account";                               //账户信息
    public static String ACCOUNT_CHANGE = "tv_account_change";                //账户信息变动
    public static String SERVICE_MATURITY = "service_maturity";                //业务到期
    public static String TRANSFER = "te_transfer";
    public static String USER = "User";                                     //用户
    public static String PERSON = "Person";                                     //用户
    public static String OFFICER = "te_officer";                                     //高管

    //schema filed
    public static String FIELD_OBJECT_KEY = "object_key";                                   //object_key
    public static String FIELD_NAME = "name";                                               //name
    public static String FIELD_COMPANY_CUSTOMER_MANAGER = "customer_manager.keyword";       //company表customer_manager字段
    public static String FIELD_COMPANY_CUST_ID = "cust_id";       //company表cust_id字段
    public static String FIELD_CUSTOMER_KEY = "customer_key";
    public static String FIELD_COMPANY_KEY = "company_keys";
    public static String FIELD_FROM_KEY = "from_key";
    public static String FIELD_TO_KEY = "to_key";
}
